package com.example.pets_java.mapper;

import com.example.pets_java.pojo.Article;
import com.example.pets_java.pojo.Comment;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ArticleMapper {
    List<Article> getArticleById(Long id);

    public List<Article> selectArticleList(Article article);

    public void insertArticle(Article article);

    public void updateArticle(Article article);

    public void deleteArticleById(Long id);
}
